package com.ruoyi.system.domain.video;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 追剧记录对象 vs_dramas_video_log
 * 
 * @author zzx
 * @date 2024-04-30
 */
public class VsDramasVideoLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer siteId;

    /** 类型:log=记录,favorite=追剧 */
    @Excel(name = "类型:log=记录,favorite=追剧")
    private String type;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 短剧 */
    @Excel(name = "短剧")
    private Long vid;

    /** 剧集 */
    @Excel(name = "剧集")
    private Long episodeId;

    /** 观看时间 */
    @Excel(name = "观看时间")
    private Long viewTime;

    private Long createtime;

    private Long updatetime;

    private Boolean videoStatus;

    private VsDramasVideoEpisodes episodes;

    private VsDramasVideo video;

    public VsDramasVideo getVideo() {
        return video;
    }

    public void setVideo(VsDramasVideo video) {
        this.video = video;
    }

    public VsDramasVideoEpisodes getEpisodes() {
        return episodes;
    }

    public void setEpisodes(VsDramasVideoEpisodes episodes) {
        this.episodes = episodes;
    }

    public Boolean getVideoStatus() {
        return videoStatus;
    }

    public void setVideoStatus(Boolean videoStatus) {
        this.videoStatus = videoStatus;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSiteId(Integer siteId) 
    {
        this.siteId = siteId;
    }

    public Integer getSiteId() 
    {
        return siteId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setVid(Long vid) 
    {
        this.vid = vid;
    }

    public Long getVid() 
    {
        return vid;
    }
    public void setEpisodeId(Long episodeId) 
    {
        this.episodeId = episodeId;
    }

    public Long getEpisodeId() 
    {
        return episodeId;
    }
    public void setViewTime(Long viewTime) 
    {
        this.viewTime = viewTime;
    }

    public Long getViewTime() 
    {
        return viewTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteId", getSiteId())
            .append("type", getType())
            .append("userId", getUserId())
            .append("vid", getVid())
            .append("episodeId", getEpisodeId())
            .append("viewTime", getViewTime())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .toString();
    }
}
